home *** CD-ROM | disk | FTP | other *** search
- package Gimp::Config;
-
- =cut
-
- =head1 NAME
-
- Gimp::Config - config options found during configure time.
-
- =head1 DESCRIPTION
-
- The Gimp::Config module creates a tied hash %Gimp::Config which contains
- all the definitions the configure script and perl deduced from the system
- configuration at configure time. You can access these values just like you
- access any other values, i.e. C<$Gimp::Config{KEY}>. Some important keys are:
-
- IN_GIMP => true when gimp-perl was part of the Gimp distribution.
- GIMP => the path of the gimp executable
- prefix => the installation prefix
- libdir => the gimp systemwide libdir
- bindir => paths where gimp binaries are installed
- gimpplugindir => the gimp plug-in directory (without the /plug-ins-suffix)
-
- =head1 SEE ALSO
-
- L<Gimp>.
-
- =cut
-
- sub TIEHASH {
- my $pkg = shift;
- my $self;
-
- bless \$self, $pkg;
- }
-
- sub FETCH {
- $cfg{$_[1]};
- }
-
- tie %Gimp::Config, 'Gimp::Config';
-
- %cfg = (
- #CFG#);
-
- 1;
-